//
//  BDMPageControl.h
//  iJobs
//
//  Created by liyingpeng on 15/12/24.
//  Copyright © 2015年 liyingpeng. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, BDMPageControlStyle) {
    BDMPageControlStyleDefault = 0,
    BDMPageControlStyleTintColor,
    BDMPageControlStyleForeImage
};

@interface BDMPageControl : UIControl

/**
 *  默认0
 */
@property(nonatomic) NSInteger numberOfPages;

/**
 *  默认0 值在0至numberOfPage-1之间
 */
@property(nonatomic) NSInteger currentPage;

/**
 *  每次显示多少页数
 */
@property(nonatomic) NSInteger showPageCount;

/**
 *  是否在只有一页的时候隐藏控件
 */
@property(nonatomic) BOOL hidesForSinglePage;

@property(nonatomic, assign) BDMPageControlStyle pageControlStyle;

@property(nullable, nonatomic, strong) UIColor *pageIndicatorTintColor;
@property(nullable, nonatomic, strong) UIColor *currentPageIndicatorTintColor;

@property(nullable, nonatomic, strong) UIImage *pageIndicatorForeImage;
@property(nullable, nonatomic, strong) UIImage *currentPageIndicatorForeImage;

@end
